﻿using System.ComponentModel;

namespace vite_net.Common.ErrorResponse
{
    public sealed class InternalErrorResponse
    {
        /// <summary>
        /// error status
        /// </summary>
        [DefaultValue("Internal Server Error!")]
        public string Message { get; set; } = "Internal Server Error!";

        /// <summary>
        /// http status code of the error response
        /// </summary>
        [DefaultValue(500)]
        public int StatusCode { get; set; }

        /// <summary>
        /// the reason for the error
        /// </summary>
        [DefaultValue("Something unexpected has happened")]
        public string Reason { get; set; }

        /// <summary>
        /// additional information or instructions
        /// </summary>
        [DefaultValue("See application log for stack trace.")]
        public string Note { get; set; }
    }
}
